package com.ruibang.glass.sale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruibang.glass.sale.dto.FileInfoDTO;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@ApiModel
@TableName(value = "g_sale_return_exchange_order")
public class GSaleReturnExchangeOrder extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "Id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "退货单号")
    private String returnNumber;
    @ApiModelProperty(value = "异议单号")
    private String disputeNumber;
    @ApiModelProperty(value = "异议单id")
    private String disputeId;
    @ApiModelProperty(value = "订货/结算客户")
    private String customer;
    @ApiModelProperty(value = "订货/结算客户")
    private String customerId;
    @ApiModelProperty(value = "退货类型")
    private String returnType;
    @ApiModelProperty(value = "退货状态")
    private String returnStatus;
    @ApiModelProperty(value = "经办人")
    private String handler;
    @ApiModelProperty(value = "经办人")
    private String handlerId;
    @ApiModelProperty(value = "退款总金额")
    private String refundTotal;
    @ApiModelProperty(value = "退货总数")
    private Integer returnQuantity;
    @ApiModelProperty(value = "已换货数")
    private String exchangeQuantity;
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否申请过 1_暂未申请发货 2_已申请")
    private String isStatus;

    @TableField(exist = false)
    private List<String> filesIds;
    @TableField(exist = false)
    private List<GSaleReturnExchangeOrderDetail> gSaleReturnExchangeOrderDetails;
    @TableField(exist = false)
    private List<String> removeIdList;


    @TableField(exist = false)
    List<FileInfoDTO> fileInfoDTOList;

    @TableField(exist = false)
    private String creteUserId;



}
